package com.supplychain.scm.core.dinger.config;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName IDingerProperties
 * @createTime 15:05:00 2022/11/21
 */
public interface IDingerProperties {

    /**
     * 请求地址前缀-选填
     * */
    String robotUrl();
    /**
     * 获取 access_token, 必填
     *
     * <blockquote>
     *     填写Dinger机器人设置中 webhook access_token | key后面的值
     *      <br /><br />
     *
     *      <ul>
     *          <li>DingTalk： https://oapi.dingtalk.com/robot/send?access_token=c60d4824e0ba4a30544e81212256789331d68b0085ed1a5b2279715741355fbc</li>
     *          <li>tokenId=c60d4824e0ba4a30544e81212256789331d68b0085ed1a5b2279715741355fbc</li>
     *          <li>WeTalk： https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=20201220-7082-46d5-8a39-2ycy23b6df89</li>
     *          <li>tokenId=20201220-7082-46d5-8a39-2ycy23b6df89</li>
     *      </ul>
     * </blockquote>
     * */
    String tokenId();
    /**
     * 选填, 签名秘钥。 需要验签时必填(钉钉机器人提供)
     */
    String secret();
}
